int sys_check()  
{  
    int num = 1;  
    char *p = (char *)      
    if(*p == 1)  
        return 1;              //小端存储  
    else  
        return 0;              //大端存储  
}  
   
int main()  
{  
    int num = 1;  
    int ret = sys_check();  
    if(ret == 1)  
    {  
        printf("little\n");  
    }  
    else if(ret == 0)  
    {  
        printf("big\n");  
    }  
    system("pause");  
    return 0;  
}
